<!DOCTYPE html>
<html>
	<head>
	<meta charset="UTF-8">
    <title>房联行增值服务部后台管理中心</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/xadmin.css">
    <script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
    <script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="./js/xadmin.js"></script>
	</head>
	<body>
		<div class="x-nav">
		      <span class="layui-breadcrumb">
		        <a href="javasccript:;">首页</a>
		        <a href="javasccript:;">知识库管理</a>
		        <a>
		          <cite>知识列表</cite></a>
		      </span>
		      <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
		        <i class="layui-icon layui-icon-refresh-1" style="line-height:30px"></i>
		      </a>
    	</div>
	<div class="x-body">
		<div class="layui-row">
			
		<form class="layui-form">
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">知识分类：</label>
					<div class="layui-input-inline">
						<select name="type">
							<option value="" selected="">全部</option>
							<option value="分类一">分类一</option>
							<option value="分类一">分类一</option>
							<option value="分类一">分类一</option>
							<option value="分类一">分类一</option>
						</select>
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">关键字：</label>
					<div class="layui-input-inline">
						<input type="text" name="keywords" placeholder="请输入标题关键字" autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">创建时间：</label>
					<div class="layui-input-inline">
						<input type="text" name="start" id="start" placeholder="开始日期" autocomplete="off" class="layui-input">
					</div>
					<div class="layui-form-mid">-</div>
					<div class="layui-input-inline">
						<input type="text" name="end" id="end" placeholder="结束日期" autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label"></label>
					<button class="layui-btn layui-bg-green" lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i>搜索</button>
					<button class="layui-btn layui-bg-orange" type="reset">清空</button>
				</div>
			</div>
		</form>
		</div>
		<xblock class="newstab">
			<button class="layui-btn layui-btn-sm layui-btn-danger" onclick="delAll()"><i class="layui-icon"></i>批量删除</button>
			<button onclick="x_admin_show('添加知识信息','./knowledge-add.html')" class="layui-btn layui-btn-sm"><i class="layui-icon"></i>新增</button>
			<span class="x-right" style="line-height:40px">共有数据：88 条</span>
		</xblock>
		<div class="formstyle">
		<table class="layui-table ">
			<thead>
				<tr>
					<th>
						<div class="layui-unselect header layui-form-checkbox" lay-skin="primary"><i class="layui-icon">&#xe605;</i></div>
					</th>
					<th>ID</th>
					<th>知识标题</th>
					<th>封面图</th>
					<th>知识分类</th>
					<th>知识摘要</th>
					<th>浏览次数</th>
					<th>创建人</th>
					<th>最后修改时间</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody class="tablist">
				<tr>
					<td>
						<div class="layui-unselect layui-form-checkbox" lay-skin="primary" data-id='2'><i class="layui-icon">&#xe605;</i></div>
					</td>
					<td>101</td>
					<td>
						洛阳设计公司
					</td>
					<td>
						<img src="images/banner.png" width="60" />
					</td>
					<td>分类</td>
					<td>知识标题摘要知识标题摘要知识标题摘要知识标题摘要知识标题摘要</td>
					<td>5</td>
					<td>管理员</td>
					<td>2015-05-20 15:20:10</td>
					<td class="td-editor">
						<a title="编辑" onclick="x_admin_show('编辑','knowledge-edit.html')" href="javascript:;">编辑</a>
						<a title="删除" onclick="member_del(this,'要删除的id')" href="javascript:;">删除</a>
					</td>
				</tr>
				<tr>
					<td>
						<div class="layui-unselect layui-form-checkbox" lay-skin="primary" data-id='2'><i class="layui-icon">&#xe605;</i></div>
					</td>
					
					<td>101</td>
					<td>
						洛阳设计公司
					</td>
					<td>
						<img src="images/banner.png" width="60" />
					</td>
					<td>分类</td>
					<td>知识标题摘要知识标题摘要知识标题摘要知识标题摘要知识标题摘要</td>
					<td>5</td>
					<td>管理员</td>
					<td>2015-05-20 15:20:10</td>
					<td class="td-editor">
						<a title="编辑" onclick="x_admin_show('编辑','knowledge-edit.html')" href="javascript:;">编辑</a>
						<a title="删除" onclick="member_del(this,'要删除的id')" href="javascript:;">删除</a>
					</td>
				</tr>
				<tr>
					<td>
						<div class="layui-unselect layui-form-checkbox" lay-skin="primary" data-id='2'><i class="layui-icon">&#xe605;</i></div>
					</td>
					
					<td>101</td>
					<td>
						洛阳设计公司
					</td>
					<td>
						<img src="images/banner.png" width="60" />
					</td>
					<td>分类</td>
					<td>知识标题摘要知识标题摘要知识标题摘要知识标题摘要知识标题摘要</td>
					<td>5</td>
					<td>管理员</td>
					<td>2015-05-20 15:20:10</td>
					<td class="td-editor">
						<a title="编辑" onclick="x_admin_show('编辑','knowledge-edit.html')" href="javascript:;">编辑</a>
						<a title="删除" onclick="member_del(this,'要删除的id')" href="javascript:;">删除</a>
					</td>
				</tr>
				<tr>
					<td>
						<div class="layui-unselect layui-form-checkbox" lay-skin="primary" data-id='2'><i class="layui-icon">&#xe605;</i></div>
					</td>
					
					<td>101</td>
					<td>
						洛阳设计公司
					</td>
					<td>
						<img src="images/banner.png" width="60" />
					</td>
					<td>分类</td>
					<td>知识标题摘要知识标题摘要知识标题摘要知识标题摘要知识标题摘要</td>
					<td>5</td>
					<td>管理员</td>
					<td>2015-05-20 15:20:10</td>
					<td class="td-editor">
						<a title="编辑" onclick="x_admin_show('编辑','knowledge-edit.html')" href="javascript:;">编辑</a>
						<a title="删除" onclick="member_del(this,'要删除的id')" href="javascript:;">删除</a>
					</td>
				</tr>
			</tbody>
		</table>
		</div>
		<div id="page"></div>		
    </div>
<script>
	layui.use(['form', 'layedit', 'laydate','laypage', 'layer'], function(){
  var form = layui.form
  ,layer = layui.layer
  ,layedit = layui.layedit
  ,var laypage = layui.laypage
  ,layer = layui.layer
  ,laydate = layui.laydate;
  
  //分页
  laypage.render({
    elem: 'page'
    ,count: 100
    ,layout: ['count', 'prev', 'page', 'next', 'limit', 'refresh', 'skip']
    ,jump: function(obj){
      console.log(obj)
    }
   });
  //日期
  laydate.render({
    elem: '#start'
  });
  laydate.render({
    elem: '#end'
  });
  
  });
  
  
</script>	
		
	</body>
</html>
